﻿<Window x:Class="VoronoiSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
        Title="MainWindow" Width="600" Height="580">
    <Grid>
        <d3:ChartPlotter Visible="-2,-2 2,2">
            <d3:ChartPlotter.FitToViewConstraints>
                <d3:PhysicalProportionsConstraint ProportionRatio="2"/>
            </d3:ChartPlotter.FitToViewConstraints>
            <d3:PolylineEditor>
                <d3:ViewportPolygon Name="polygon" Points="0,1 -0.7,0 0.7,0 0,0" Fill="{x:Null}" Stroke="{x:Null}">
                </d3:ViewportPolygon>
            </d3:PolylineEditor>
            
            <d3:VoronoiChart Name="voronoiChart"/>
        </d3:ChartPlotter>

    </Grid>
</Window>
